<?php


 
// username and password sent from form 
$id=$_POST['id']; 


//echo $_POST['myusername']."<br>";
// To protect MySQL injection (more detail about MySQL injection)

//$myusername = mysql_real_escape_string($myusername);
//$mypassword = mysql_real_escape_string($mypassword);
$sql="DELETE FROM `backoffice`.`organization` WHERE `organization`.`id` = '$id'";

//$sql="SELECT * FROM `user`";
mysql_query($sql);


// Register $myusername, $mypassword and redirect to file "login_success.php"
//
//print_r($_SESSION);
header("location:../index.php?page=manage_organizations");

?>